#ifndef __GAME_H__
#define __GAME_H__
/////////////////
//include
/////////////////
#include<ANX\PMD.h>
#include<ANX\SpriteDrawer.h>

#include<ANX\SpriteDrawer.h>
#include<ANX\Camera.h>
#include<ANX\SwapChain.h>
#include"Scene.h"
#include<time.h>
/////////////////
//const
/////////////////

/////////////////
//class
/////////////////

class Game
{
public:
	Game(HWND hwnd);
	~Game();
	void			Run();
	bool			CheckMessarge();
	void			SetScene(Scenes::Scene scene_type);	
	bool			CheckFrame();
	Device			device;
	DeviceContext	device_context;
	SwapChain		swap_chain;
	ID3D11RenderTargetView* render_target;
	static Camera camera;
	ID3D11DepthStencilView* depth;
	ID3D11Texture2D* texture;
	D3D11_MAPPED_SUBRESOURCE mapped_sub_resource;
	static Scene* scenes[Scenes::Num];
	static Scenes::Scene now_scene_type;
	static	SpriteDrawer* sprite_drawer;


	clock_t pri_time;

};
#endif __GAME_H__
